$(document).ready(function(){
	var coverlayer = $('#cover');
	var loginpanel = $('#panel');
	$('#login').click(function(){
		coverlayer.fadeIn(function(){
			loginpanel.slideDown();
		});
	});
	$('#close').click(function(){
		loginpanel.slideUp(function(){
			coverlayer.fadeOut();
		});
	});
});